<template>
	<view class="chat-system"  @click="callFatherMethod()">
		{{ customData.msg }}<text class="metals">{{ customData.metals }}</text>
	</view>
</template>

<script>
	export default {
		name: "chatSystem",
		props:{
			flexFlow:{
				type:Boolean,
				default:true,
			},
			customData:{
				type:Object,
				default:{
					msg:'',
					metals:'',
				},
			}
		},
		data() {
			return {
			};
		},
		created() {
			
		},
		mounted() {
		
		},
		methods: {
			callFatherMethod(){
				this.$emit('callFatherMethod',this.customData.userId)
			}
		},
	};
</script>

<style lang="scss" scoped>

	
</style>